/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.nuatar.meibi.tool;

import java.io.UnsupportedEncodingException;

/**
 *
 * @author AnchLi
 */
public class ServiceUtils {
     public static byte[] toByteArray(String paramString) {
    try {
      return paramString.getBytes(Constants.DEFAULT_ENCODING);
    } catch (UnsupportedEncodingException localUnsupportedEncodingException) {
     
    }
    return paramString.getBytes();
  }
}
